/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.myself.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 公司信息Entity
 * @author 大暑
 * @version 2019-09-23
 */
public class DemoInfo extends DataEntity<DemoInfo> {
	
	private static final long serialVersionUID = 1L;
	private String company;		// company
	private String address;		// address
	private String department;		// department
	
	public DemoInfo() {
		super();
	}

	public DemoInfo(String id){
		super(id);
	}

	@Length(min=0, max=255, message="company长度必须介于 0 和 255 之间")
	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}
	
	@Length(min=0, max=255, message="address长度必须介于 0 和 255 之间")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
	@Length(min=0, max=255, message="department长度必须介于 0 和 255 之间")
	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}
	
}